package com.team2.insulatingtools.modular.tools.service;

import cn.stylefeng.roses.kernel.rule.pojo.response.ResponseData;
import com.team2.insulatingtools.modular.tools.pojo.response.RecordStatisticsResponse;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.util.List;

/**
 * .           ,%%%%%%%%,
 * .         ,%%/\%%%%/\%%
 * .        ,%%%\c "" J/%%%
 * %.       %%%%/ o  o \%%%
 * `%%.     %%%%    _  |%%%
 * `%%      `%%%%(__Y__)%%'
 * //        ;%%%%`\-/%%%'
 * ((        /  `%%%%%%%'
 * \\    .'          |
 * \\  /       \  | |
 * \\/         ) | |
 * \         /_ | |__
 * (___________)))))))
 * 攻城狮 永无bug!
 *
 * @ClassName RecordStatisticsService
 * @Author lemon
 * @create 2023/4/6 15:17
 */
public interface RecordStatisticsService {
    /**
     * @Author lemon
     * @Description //展示符合专业，车间，班组的数据
     * @Date 15:35 2023/4/6
     * @Param * @param orgName
     * @Param * @param toolName
     * @return * @return List<RecordStatisticsResponse>
     **/
    List<RecordStatisticsResponse> showRecordStatistics(String orgName,String toolName);
    void exportExcel(HttpServletResponse response,List<RecordStatisticsResponse> recordStatisticsList);
    void importExcel(MultipartFile file, HttpServletResponse response) throws IOException;



    }
